//
//  BarView.h
//  滑动切换视图控制器
//
//  Created by Hubery on 15/8/28.
//  Copyright (c) 2015年 ifly. All rights reserved.
//

#import <UIKit/UIKit.h>

@class BarView;
@protocol BarViewDelegate <NSObject>

- (void)barCollectionView:(BarView *)barCollectionView didSelectionItemAtIndex:(NSUInteger)index;

@end


@interface BarView : UIView
@property (nonatomic, copy) NSArray *childViewControllerTitles;
@property (nonatomic, assign) NSInteger page;
@property (nonatomic, weak) id<BarViewDelegate> barCollectionDelegate;
@end
